﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员日交易Tick数据
    /// </summary>
    public interface IOperatorDayTick
    {
        /// <summary>
        /// 得到操作员日盈利或亏损的Tick数量
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="win"></param>
        /// <returns></returns>
        List<OperatorDayTick> GetOperatorDayWinOrLostTicks(int operatorid, int tradeHistoryId, bool win);

        void InitOperatorDayTick(int tradeHistoryId, bool win);

        void Delete(int tradeHistoryId);
    }
}
